package edu.xidian.bdilab.jrbigdata.controller.bank;


import edu.xidian.bdilab.jrbigdata.controller.response.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Api(tags = {"EnterprieseInfoCkeck-银行查看企业信息功能"})
public class EnterprieseInfoCkeck {
    @Autowired
    edu.xidian.bdilab.jrbigdata.service.bank.enterprieseInfoCkeck.enterprieseInfoCkeckService enterprieseInfoCkeckService;
    @ApiImplicitParam(name = "enterpriseName", value = "企业名称")
    @RequestMapping(value = "bank/enterprieseInfoCkeck", method = RequestMethod.POST)
    public ResponseResult EnterprieseInfoCkeck  (@RequestParam String enterpriseName)
    {
        ResponseResult responseResult= enterprieseInfoCkeckService.enterprieseInfoCkeck(enterpriseName);
        return  responseResult;
    }


}
